<%--
  Created by IntelliJ IDEA.
  User: admin
  Date: 2021/9/11
  Time: 13:30
  To change this template use File | Settings | File Templates.
--%>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<html>
<head>
    <base href="<%=basePath%>"/>
    <title>增加页面</title>
    <link href="<%=basePath%>static/css/style.css" rel="stylesheet" type="text/css"/>
</head>

<body>

<div class="place">
    <span>位置：</span>
    <ul class="placeul">
        <li><a href="#">首页</a></li>
        <li><a href="#">表单</a></li>
    </ul>
</div>
<form action="<%=basePath%>permissionController/add.do" method="post">
    <div class="formbody">

        <div class="formtitle"><span>基本信息</span></div>

        <ul class="forminfo">
            <li><label>父ID：</label>
                <select name="permissionIdSTR">
                    <option>----------------------------请选择父级节点----------------------------</option>
                    <c:forEach items="${permission_dbList}" var="permission">
                        <option name="" id="${permission.permissionId}" value="${permission.permissionId}">${permission.permissionName}</option>
                    </c:forEach>
                </select>

            </li>
            <li><label>名称：</label><input name="permissionName" type="text" class="dfinput"/><i>标题不能超过30个字符</i></li>
            <li><label>编码：</label><input name="permissionCode" type="text" class="dfinput"/><i>标题不能超过30个字符</i></li>
            <li><label>图标：</label><input name="icon" type="text" class="dfinput"/><i>标题不能超过30个字符</i></li>
            <li><label>URL：</label><input name="url" type="text" class="dfinput"/><i>标题不能超过30个字符</i></li>
            <li><label>类型：</label><input name="type" type="text" class="dfinput"/><i>标题不能超过30个字符</i></li>
            <li><label>状态：</label><input name="state" type="text" class="dfinput"/><i>标题不能超过30个字符</i></li>
            <li><label>&nbsp;</label><input name="" type="submit" class="btn" value="确认保存"/></li>
        </ul>


    </div>
</form>
</body>
</html>
